package com.woniu.cq.medical.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lucas
 * @since 2020-09-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("lonbon_duty")
public class Duty implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 排班表编号
     */
    @TableId(value = "duty_id", type = IdType.AUTO)
    private Integer dutyId;

    /**
     * 医生id
     */
    private Integer doctorId;

    /**
     * 排班时间
     */
    private LocalDate dutyDate;

    /**
     * 最大预约人数
     */
    private Integer bookPeopleMax;

    /**
     * 当前预约人数
     */
    private Integer nowBookPeople;


}
